﻿using System;
using System.Xml.Serialization;

namespace DivShare
{
    /// <summary>
    /// Provides a response when list of file information is requested. This class cannot be inherited.
    /// </summary>
    [Serializable]
    [XmlRoot(ElementName = "response")]
    public sealed class WebFileInfoListResponse : GeneralResponse
    {
        /// <summary>
        /// Gets or sets the file infos.
        /// </summary>
        /// <value>The file infos.</value>
        [XmlArray(ElementName="files")]
        [XmlArrayItem(ElementName="file")]
        public WebFileInfo[] WebFileInfos { get; set; }

    }
}
